package com.zy.is.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zy.is.domain.SysUser;
import org.apache.ibatis.annotations.Mapper;

/**
 * @ClassName: SysUserMapper
 * @Description: sysUser 数据访问层
 * @Author: Yanzy
 * @Data: 2021/4/1 18:04
 * @Source: 1.0
 */
@Mapper
public interface SysUserMapper extends BaseMapper<SysUser> {

    /**
     * 通过唯一登录用户名 查询
     * @param loginName 登录名
     * @return sysUser
     */
    SysUser findSysUserByName(String loginName);
}
